using System;

namespace SportsStore.Models;

public class EFStoreRepository : IStoreRepository
{
    private readonly StoreDbContext storeDbContext;

    public EFStoreRepository(StoreDbContext storeDbContext)
    {
        this.storeDbContext = storeDbContext;
    }

    public IQueryable<Product> Products => this.storeDbContext.Products;
}
